package test.threadlocal;

public class MyDispatcherServlet {
    private MyHandlerMapper handlerMapper = new MyHandlerMapper();
    private MyHandlerAdpter handlerAdpter = new MyHandlerAdpter();
    public void service(){
        System.out.println("[前端控制器]执行方法");
        handlerMapper.getHandler();
        System.out.println("[前端控制器]询问映射器完毕");
        handlerAdpter.excute();
    }
}
